{load header}
<!--/H-->

    <!-- 内容区 -->
    <div id="main-content">
        <div id="top-alert" class="fixed alert alert-error" style="display: none;">
            <button class="close fixed" style="margin-top: 4px;">&times;</button>
            <div class="alert-content">这是内容</div>
        </div>
        <div id="main" class="main">
        <!-- nav --><!-- nav -->
            
	<div class="main-title cf">
		<h2>{$item['name_ch']}-平台费用</h2>
	</div>
	<div class="tab-wrap">
		<ul class="tab-nav nav ">
                        <li data-tab="tab1" class='current'><a href="javascript:void(0);">平台费用</a></li>
		</ul>
		<div class="tab-content">
	<form action="" method="post" class="form-horizontal">
                <div id="tab1" class="tab-pane tab1 in">
				<div class="form-item cf">
					<label class="item-label">管理费用<span class="check-tips">（用于前台显示）</span></label>
					<div class="controls name_name">
                                            <input type="text"  class="text input-large" name="manage_fee" value="{$item['manage_fee']}">
					</div>
				</div>
                                
				<div class="form-item cf">
					<label class="item-label">充值费<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="recharge_fee" value="{$item['recharge_fee']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">提现费<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text"  class="text input-large" name="cash_fee" value="{$item['cash_fee']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">VIP费用<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text"  class="text input-large" name="vip_fee" value="{$item['vip_fee']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">转让费用<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="zhuanrang_fee" value="{$item['zhuanrang_fee']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">支付方式<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text"  class="text input-large" name="pay_type" value="{$item['pay_type']}">
					</div>
				</div>
                </div>
		<div class="form-item cf">
                        <input type="hidden" name="plat_en" value="{$item['plat_en']}"/>
			<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
	</div>
</div>
<link href="{eval echo base_url()}static/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<link href="{eval echo base_url()}static/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{eval echo base_url()}static/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="{eval echo base_url()}static/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
	$(function(){
	    $('#sign_date').datetimepicker({
	        format: 'yyyy-mm-dd',
	        language:"zh-CN",
		    minView:2,
		    autoclose:true
	    });

	    $('#datetimepicker').datetimepicker({
	       format: 'yyyy-mm-dd',
	        language:"zh-CN",
	        minView:2,
	        autoclose:true,
	        pickerPosition:'bottom-left'
	    })
	   $(".borrow_child").click(function(){
		   var name_num=0; 
		   name_num=$(".name_name").find("input").length;
		   name_num=name_num+1;
		   $(".name_name").append("<br/><input type='text' class='text input-large' name='name"+name_num+"' value=''>");
		   $(".acount_acount").append("<br/><input type=\"text\" onkeyup=\"this.value=this.value.replace(/[^0-9.}]/g,'')\" onafterpaste=\"this.value=this.value.replace(/[^0-9.}]/g,'')\" class=\"text input-middle\" name=\"account"+name_num+"\" value=\"\">元");
	   });
	   $("select[name='borrow_style'] >option").click(function(){
			var type=$(this).attr("value");
			if(type=="endday"){
				$("#borrow_period_time").html("天");
			}else{
				$("#borrow_period_time").html("个月");
			}
	   });
	    
	})
</script>
<!--F-->{load footer}
<script type="text/javascript">
showTab();
</script>